<include file='Public:header'/>
<include file='Public:menu'/>
  <div id="main-content">
    <!-- Page Head -->
    <h2>汪星人星球</h2>
    <p id="page-intro">有什么可以帮助您？</p>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>商品列表</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
          <table>
            <thead>
              <tr>
                <th>商品ID</th>
                <th>商品标题</th>
                <th>收藏次数</th>
                <th>添加图片</th>
                <th>编辑图片</th>
                <th>创建时间</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
              <tr>
                <td>{$vo.id}</td>
                <td><a href="__URL__/edit/id/{$vo.id}" title="标题">{$vo.title}</a></td>
                <td>{$vo.collection}</td>
                <td><a href="__APP__/Gimage/add/id/{$vo.id}/c/<?php echo MODULE_NAME;?>" title="点击添加图片">添加图片</a></td>
                <td><a href="__APP__/Gimage/index/gid/{$vo.id}/c/<?php echo MODULE_NAME;?>" title="点击编辑图片">图片列表</a></td>
                <td>{$vo.ctime|date="Y-m-d H:i:s",###}</td>
                <td>
                  <!-- Icons -->
                  <a href="__URL__/edit/id/{$vo.id}" title="Edit"><img src="__PUBLIC__/admin/images/icons/pencil.png" alt="Edit" /></a>  <a href="__URL__/delete/id/{$vo.id}" title="Delete"><img src="__PUBLIC__/admin/images/icons/cross.png" alt="Delete" /></a></td>
              </tr>
              </foreach>
            </tbody>
          </table>
        </div>
        	<tfoot>
              <tr>
                <td colspan="6">
                  <div class="pagination"> {$page}</div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
                </td>
              </tr>
              </tfoot>
      </div>
      <!-- End .content-box-content -->
    </div>
    <div class="clear"></div>
    
<include file='Public:footer'/>